home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextFieldGetMaxLength.z / XmTextFieldGetMaxLength
Encoding:
Text File  |  2003-11-18  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_F_i_e_l_d_G_e_t_M_a_x_L_e_n_g_t_h - A TextField    function that accesses
  10.       the value of the current maximum allowable length of a text
  11.       string entered from the keyboard
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/TextF.h>
  15.  
  16.       int XmTextFieldGetMaxLength (wwwwiiiiddddggggeeeetttt)
  17.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.       _X_m_T_e_x_t_F_i_e_l_d_G_e_t_M_a_x_L_e_n_g_t_h accesses the value of    the current
  21.       maximum allowable length of the text string in the TextField
  22.       widget entered from the keyboard.  The maximum allowable
  23.       length prevents the user from    entering a text    string larger
  24.       than this limit.
  25.  
  26.       wwwwiiiiddddggggeeeetttt
  27.            Specifies the TextField widget ID
  28.  
  29.       For a    complete definition of TextField and its associated
  30.       resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  31.  
  32.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  33.       Returns the integer value that indicates the string's
  34.       maximum allowable length that    can be entered from the
  35.       keyboard.
  36.  
  37.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  38.       _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.